<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">组团编号：</div>
			<div class="col-sm-8">{{productGroup.id}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">预定数量：</div>
			<div class="col-sm-8">{{productGroup.groupNum}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">预定日期：</div>
			<div class="col-sm-8">{{HB_FORMAT_DATE productGroup.dateCreated}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">状　　态：</div>
			<div class="col-sm-8">{{productGroup.checkStatusName}}</div>
		</div>
	</div>
</li>
{{#HB_COMPARE productGroup.remark '!=' ''}}
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">审核日期：</div>
			<div class="col-sm-8">{{HB_FORMAT_DATE productGroup.dateCheck}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">审核备注：</div>
			<div class="col-sm-8">{{productGroup.remark}}</div>
		</div>
	</div>
</li>
{{/HB_COMPARE}}
{{#HB_COMPARE productGroup.checkStatus '!=' '1'}}
<li style="padding:3px 3px 3px 3px;">
	<button type="button" id="docancelgroup{{identify}}" class="btn btn-default btn-lg btn-block">取消组团</button>
	<script type="text/javascript" id="cancelscriptid{{identify}}">
		$('#docancelgroup{{identify}}').click(function() {
			var $this = $(this);
			Global.confirm('确认取消组团', function() {
				var $form = $('#kgroupsform{{identify}}');
				$.ajax({
					type: 'POST',
					url: GLOBAL_CONTEXT_PATH + '/product/doCancelGroup.html',
					data: {
						'productGroup.id': '{{productGroup.id}}',
						'_': new Date().getTime()
					},
					success: function(html) {
						Global.longToast('取消组团操作成功');
						$this.closest('li').remove();
					},
					error: function() {
						Global.longToast('取消组团操作失败，请联系客服');
					}
				});
			});
		});
		$('#cancelscriptid{{identify}}').remove();
	</script>
</li>
{{/if}}
<li style="padding:3px 3px 3px 3px;">
	<button type="button" id="doviewgroup{{identify}}" class="btn btn-default btn-lg btn-block">查看组团产品</button>
	<script type="text/javascript" id="viewscriptid{{identify}}">
		$('#docancelgroup{{identify}}').click(function() {
			window.location.hash = '##productdetails&saleType=2&id={{productGroup.productId}}'
		});
		$('#viewscriptid{{identify}}').remove();
	</script>
</li>
